package com.hym.travel.dao;

import com.hym.travel.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserDao {

    //登录
    User findUserByUsername(User user);

    //注册
    void save(User user);
}
